#ifndef HTTPPROTOCOL_H
#define HTTPPROTOCOL_H
#include "Protocol/BaseProtocol.h"
#include "DataType/PortStruct.h"
#include <QObject>
#include <serializer.h>
#include <parser.h>

class HttpProtocol : public BaseProtocol
{
     Q_OBJECT
public:
     explicit HttpProtocol(QObject *parent = 0);
    enum FunctionCode
    {
        getGaoDeWeather = 0x2000,


    };


    QList<Package> parseData(QByteArray data);
    QByteArray generateData(Package package);
};


#endif // HTTPPROTOCOL_H
